//
//  BuyInfoTitleTableViewCell.m
//  EasyBuy
//
//  Created by apple on 12-10-20.
//  Copyright (c) 2012年 shen donghao. All rights reserved.
//

#import "BuyInfoTitleTableViewCell.h"

@implementation BuyInfoTitleTableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        buyTitle = [[UILabel alloc] initWithFrame:CGRectMake(10, 0, 300, 40)];
        buyTitle.backgroundColor = [UIColor clearColor];
        [self addSubview:buyTitle];
        [buyTitle release];
    }
    return self;
}

- (void)initCellWithBuyTitleInfoData:(BuyInfoData *)buyInfoData{
    _buyTitle = @"正品！卡西欧EF男表转让";
    [self setBuyTitleInfoData];
}

-(void)setBuyTitleInfoData{
    buyTitle.text = _buyTitle;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
